// 菜单相关
import request from "@/utils/request";
import type { MenuForm, MenuResponseData } from "./type";

//项目用户相关的请求地址
enum API {
  USERMENU_URL = "/user/menuList",
}

//获取菜单信息
export const reqMenuInfo = (data: MenuForm) => request.post<string, MenuResponseData>(API.USERMENU_URL, data);
